package com.handyshop.mall.dubbo.commodity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.handyshop.mall.dubbo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "商品集合表")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "nrs_goods_collections")
public class GoodsCollections extends BaseEntity {
    /**
     * 商家ID
     */
    @TableField(value = "merchant_id")
    @ApiModelProperty(value = "商家ID")
    private Long merchantId;

    /**
     * 集合名称
     */
    @TableField(value = "`name`")
    @ApiModelProperty(value = "集合名称")
    private String name;

    /**
     * 集合描述
     */
    @TableField(value = "description")
    @ApiModelProperty(value = "集合描述")
    private String description;

    public static final String COL_ID = "id";

    public static final String COL_MERCHANT_ID = "merchant_id";

    public static final String COL_NAME = "name";

    public static final String COL_DESCRIPTION = "description";

    public static final String COL_DELETE_FLAG = "delete_flag";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR = "creator";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}